package com.xinda.admin.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.xinda.admin.pojo.ProductStyle;
import com.xinda.admin.pojo.ProductType;

@Service
public interface ITypeService {

	List<ProductType> queryTypeList(int styleId);

	List<ProductStyle> queryStyleList();

	ProductType queryTypeById(int id);

	void deleteTypeById(int id);

	void updateStatusById(int id, int status);

	void updateTypeById(ProductType type);

	void addTypeById(ProductType type);

}

